GoXam for WPF v3
CheckLinkValid Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : CheckLinkValid Method
a node key identifying the node data from which the link would come
a node key identify the node data to which the link would go
true if relinking; false if adding a new link
a node key identifying the node data from which the existing link comes
a node key identify the node data to which the existing link goes
This predicate is true if adding a link between two nodes/ports would result in a validly structured graph.
Syntax

Parameters

newfromdata
a node key identifying the node data from which the link would come
newtodata
a node key identify the node data to which the link would go
ignoreexistinglink
true if relinking; false if adding a new link
oldfromdata
a node key identifying the node data from which the existing link comes
oldtodata
a node key identify the node data to which the existing link goes

Return Value

The behavior of this predicate depends on the value of ValidCycle. This returns false for duplicate links.
See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members